#ifndef SPRING_TREE_ITEM_H
#define SPRING_TREE_ITEM_H

#include "src/spring.h"
#include "treeItem.h"

class SpringTreeItem : public TreeItem {
    public:
        SpringTreeItem(QTreeWidgetItem * = 0, Spring * = 0);
        ~SpringTreeItem();

        unsigned int getType(){return SPRING;};

        Spring *getSpring(){return spring;};

        void select(bool _b){spring->select(_b);};

    private:
        Spring *spring;
};

#endif



